package com.movitech.mobile.cz.base.purchase.service;

import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.modules.controller.RestReturnResult;
import com.movitech.mobile.cz.base.purchase.entity.WFlowFormQuestionAnswer;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtWFlowFormQuestionAnswer;

import java.util.List;

/**
 * <p>
 * 流程表单-答疑补遗 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
public interface WFlowFormQuestionAnswerService extends IService<WFlowFormQuestionAnswer> {
    /**
     * 答疑补遗详情接口
     * @param flowId
     * @return
     */
    public RestReturnResult getQuestionAnswer(String flowId);

    List<ExtWFlowFormQuestionAnswer> getExtByFormIdOrderSNum(String formId);

    boolean setReadedQuestion(String supplierId,String formId);
    boolean setReadedAnswer(String supplierId,String formId);

}
